<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户管理</title>
<%@include file="/page/jsp/public.jsp"%>
</head>
<body>
<table id="table_user" title="用户管理" class="easyui-datagrid" 
            toolbar="#toolbar" pagination="true" fitColumns="true" singleSelect="true" loadMsg="正在载入..."
            pageSize=20 total=200 url="/ur/user/query.nutz" pageNumber=1>  
    <thead>  
        <tr>  
            <th field="userName" width="50">用户名</th>
            <th field="phone" width="50">分机</th>
            <th field="referenceId" width="50">email</th>
            <th field="registerDate" width="50">registerDate</th>
        </tr>  
    </thead>
</table>  
<div id="toolbar">  
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="newUser()">New User</a>  
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="editUser()">Edit User</a>  
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="destroyUser()">Remove User</a>  
</div>  
<script type="text/javascript">
seajs.use("ur.user", function(user){
	user.init();
})
</script>
</body>
</html>